﻿using SportsPlatform.Base;
using SportsPlatform.Dto.SportBusiness.CompetitionProjec;
using SportsPlatform.Dto.WeChat;
using SportsPlatform.Query.CompetitionProjec;
using SportsPlatform.Query.WeChat;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using GetCompetitionListDto = SportsPlatform.Dto.SportBusiness.CompetitionProjec.GetCompetitionListDto;

namespace SportsPlatform.WeChat.IWeChat
{
    public interface IWeChatCompetitionService
    {
        /// <summary>
        /// 获取我的赛事列表
        /// </summary>
        /// <param name="query"></param>
        /// <returns></returns>
        Task<PagePagingDto<WeChatCompetitionListDto>> GetMeCompetitionList(GetWeChatCompetitionQuery query);

        /// <summary>
        /// 获取赛事项目信息
        /// </summary>
        /// <param name="query"></param>
        /// <returns></returns>
        Task<ResultDto<WeChatCompetitionProjectDetails>> GetWeChatCompetitionProjectDetails(GetWeChatCompetitionDtoQuery query);

        /// <summary>
        /// 获取该报名信息下的所有用户
        /// </summary>
        /// <param name="query"></param>
        /// <returns></returns>
        Task<ResultDto<WeChatCompetitionDetails>> GetWeChatEmployeeDtoList(GetWeChatEmployeeDtoQuery query);

        /// <summary>
        /// 获取赛事比赛列表
        /// </summary>
        /// <param name="query"></param>
        /// <returns></returns>
        Task<PagePagingDto<GetCompetitionListDto>> GetCompetitionList(GetCompentitionProject query);
    }
}
